Differential signal generator with built-in test circuitry

ABSTRACT

A circuit and method are provided for performing built-in test of output signal magnitudes of integrated differential signal generator circuitry. In accordance with one embodiment, first upper and lower reference voltages and second upper and lower reference voltages are received via a plurality of reference electrodes, wherein: a difference between the first and upper and lower reference voltages comprises a first difference magnitude; a difference between the second upper and lower reference voltages comprises a second difference magnitude; and the first difference magnitude is greater than the second difference magnitude. Test signal generator circuitry provides a plurality of binary signals with respective successions of opposing signal states. Differential signal generator circuitry, coupled to the test signal generator circuitry and responsive to the plurality of binary signals, provides a plurality of differential signals having respective magnitudes related to the respective successions of opposing binary signal states. Signal comparison circuitry, coupled to the plurality of reference electrodes and the differential signal generator circuitry, and responsive to the first and second upper and lower reference signals and the plurality of differential signals, provides a plurality of test signals with respective test signal states indicative of whether respective ones of the differential signal magnitudes are within a range defined as being less than the first difference magnitude and greater than the second difference magnitude.

BACKGROUND OF THE INVENTION

The present invention relates to voltage comparator circuits, and in particular, to fully differential voltage comparator circuits.

As the density of a typical integrated circuit (IC), or chip, continues to increase, increasing numbers of complex circuit functions are being integrated into each single chip. As the prices for such chips have declined, sometimes dramatically, this has become increasingly problematic from the standpoint of production costs, since such increasingly complex chips become more difficult and often, therefore, more costly to adequately test for defects. As a result, it has become increasingly common for chips to include some form of built-in system test (BIST) circuitry for performing internal testing of various portions of the integrated circuit to provide some form of output status signals indicative of any defects or performance problems. This advantageously allows for the use of simpler and typically less costly external automatic test equipment (ATE), as well as reduced testing times.

SUMMARY OF THE INVENTION

In accordance with the presently claimed invention, a circuit and method are provided for performing built-in test of output signal magnitudes of integrated differential signal generator circuitry.

In accordance with one embodiment of the presently claimed invention, an integrated circuit with differential signal generator circuitry and built-in test circuitry therefore includes a plurality of reference electrodes, test signal generator circuitry, differential signal generator circuitry and signal comparison circuitry. Via the plurality of reference electrodes are received first upper and lower reference voltages and second upper and lower reference voltages, wherein: a difference between the first upper and lower reference voltages comprises a first difference magnitude; a difference between the second upper and lower reference voltages comprises a second difference magnitude; and the first difference magnitude is greater than the second difference magnitude. Via the test signal generator circuitry is provided a plurality of binary signals with respective successions of opposing signal states. The differential signal generator circuitry is coupled to the test signal generator circuitry and responsive to the plurality of binary signals by providing a plurality of differential signals having respective magnitudes related to the respective successions of opposing binary signal states. The signal comparison circuitry is coupled to the plurality of reference electrodes and the differential signal generator circuitry, and responsive to the first and second upper and lower reference signals and the plurality of differential signals by providing a plurality of test signals with respective test signal states indicative of whether respective ones of the differential signal magnitudes are within a range defined as being less than the first difference magnitude and greater than the second difference magnitude.

In accordance with another embodiment of the presently claimed invention, an integrated circuit with differential signal generator circuitry and built-in test circuitry therefore includes test signal generator means, differential signal generator means and signal comparison means. The test signal generator means is for providing a plurality of binary signals with respective successions of opposing signal states. The differential signal generator means is for receiving the plurality of binary signals and in response thereto providing a plurality of differential signals having respective magnitudes related to the respective successions of opposing binary signal states. The signal comparison means is for receiving first upper and lower reference voltages, second upper and lower reference voltages, and the plurality of differential signals and in response thereto providing a plurality of test signals with respective test signal states, wherein: a difference between the first upper and lower reference voltages comprises a first difference magnitude; a difference between the second upper and lower reference voltages comprises a second difference magnitude; the first difference magnitude is greater than the second difference magnitude; and the respective test signal states are indicative of whether respective ones of the differential signal magnitudes are within a range defined as being less than the first difference magnitude and greater than the second difference magnitude.

In accordance with still another embodiment of the presently claimed invention, a method for performing built-in testing of differential signal generator circuitry includes:

generating, within an integrated circuit, a plurality of binary signals with respective successions of opposing signal states;

receiving the plurality of binary signals and in response thereto generating, within the integrated circuit, a plurality of differential signals having respective magnitudes related to the respective successions of opposing binary signal states; and

receiving first upper and lower reference voltages, second upper and lower reference voltages, and the plurality of differential signals and in response thereto generating, within the integrated circuit, a plurality of test signals with respective test signal states, wherein

-   -   a difference between the first upper and lower reference         voltages comprises a first difference magnitude,     -   a difference between the second upper and lower reference         voltages comprises a second difference magnitude,     -   the first difference magnitude is greater than the second         difference magnitude, and     -   the respective test signal states are indicative of whether         respective ones of the differential signal magnitudes are within         a range defined as being less than the first difference         magnitude and greater than the second difference magnitude.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an integrated circuit with built-in test circuitry in accordance with one embodiment of the presently claimed invention.

FIG. 2 is a diagram depicting the alternate reference voltages for performing differential signal testing in accordance with the presently claimed invention.

FIG. 3 is a block diagram of multiplexing circuitry for use with the circuit of FIG. 1.

FIG. 4 is a diagram depicting voltage versus time for the multiplexed reference voltages provided by the circuit of FIG. 3.

FIG. 5 is a schematic diagram of a differential voltage comparator circuit in accordance with one embodiment of the presently claimed invention.

DETAILED DESCRIPTION

The following detailed description is of example embodiments of the presently claimed invention with references to the accompanying drawings. Such description is intended to be illustrative and not limiting with respect to the scope of the present invention. Such embodiments are described in sufficient detail to enable one of ordinary skill in the art to practice the subject invention, and it will be understood that other embodiments may be practiced with some variations without departing from the spirit or scope of the subject invention.

Throughout the present disclosure, absent a clear indication to the contrary from the context, it will be understood that individual circuit elements as described may be singular or plural in number. For example, the terms “circuit” and “circuitry” may include either a single component or a plurality of components, which are either active and/or passive and are connected or otherwise coupled together (e.g., as one or more integrated circuit chips) to provide the described function. Additionally, the term “signal” may refer to one or more currents, one or more voltages, or a data signal. Within the drawings, like or related elements will have like or related alpha, numeric or alphanumeric designators. Further, while the present invention has been discussed in the context of implementations using discrete electronic circuitry (preferably in the form of one or more integrated circuit chips), the functions of any part of such circuitry may alternatively be implemented using one or more appropriately programmed processors, depending upon the signal frequencies or data rates to be processed.

Referring to FIG. 1, an integrated circuit 10 with differential signal generator circuitry and built-in test circuitry includes multiple subcircuits 12 a, 12 b, . . . , 12 n, each of which includes a differential signal generator circuit TX1, TX2, . . . , TXN for generating differential output signals. One example of such circuitry would be a 100 BASE-T Ethernet transmitter circuit which provides a fully differential output signal having a peak-to-peak signal amplitude, according to the IEEE compliance specification, of 1,000 +/−50 millivolts.

Referring to the first subcircuit 12 a as an example (with it understood that each of the remaining subcircuits 12 b, . . . , 12 n operates in a similar manner), the differential signal generator circuit TX1 generates a differential output signal having positive VOP1 and negative VON1 signal phases which are applied across an output resistance RO1 (e.g., 100 ohms) in parallel with the primary side of an isolation transformer T1 (off-chip), the secondary side of which drives a load resistance RL1 (e.g., 100 ohms). The output terminals of the differential signal generator TX1 are biased with the power supply voltage VCC, which is applied at the midpoints of the output resistance RO1 and the primary side of the transformer T1. Such circuitry is well known in the art and need not be described further. Under normal operating conditions, the differential signal generator TX1 receives a single ended input signal generated elsewhere within the chip 10 for transmission off-chip as the differential output signal VOP1–VON1. One example of such differential signal generators is a low voltage differential signaling (LVDS) interface circuit, many types of which are well known in the art.

For purposes of a built-in test function, also included as part of this subcircuit 12 a is a pattern generator PG1 which can be virtually any form of storage or memory circuitry in which data having a predetermined bit pattern can be stored and provided in an appropriately synchronous manner as a data signal 13 a to the differential signal generator TX1. This input data signal 13A will produce a corresponding differential output signal VOP1–VON1, the magnitude of which is tested by the built-in test circuitry.

This built-in test circuitry is formed primarily by a differential voltage comparator circuit DVC1 which compares the differential output signal VOP1–VON1 to a differential reference voltage VREFP-VREFN having upper and lower reference voltage values VREFP and VREFN, respectively, relative to circuit ground potential. Various forms of differential voltage comparator circuits are well known in the art. A preferred implementation of such a differential voltage comparator circuit is described in more detail below.

The pattern generator PG1 also produces a synchronizing control signal STROBE-1 to synchronize the operation of the differential voltage comparator circuit DVC1 to the occurrence of the differential output signal VOP1–VON1 corresponding to the patterns of the data signal 13 a provided by the pattern generator PG1.

The reference voltages VREFP, VREFN are provided by test equipment ATE external to the chip 10, and are made available to the built-in test circuitry by way of electrodes 14 a, 14 b, . . . , 14 n. It will be understood by one of ordinary skill in the art that these electrodes 14 a, 14 b, . . . , 14 n need not necessarily be electrodes dedicated to conveying these reference voltages VREFP, VREFN, but may electrodes shared among various forms of switching or multiplexing circuitry, thereby allowing such electrodes 14 a, 14 b, . . . , 14 n to be used for other functions as well. Such reference voltages VREFP, VREFN should have high accuracy and stability, and can be generated in many ways well known in the art. For example, bandgap reference voltage generators, which are well known in the art, can be used to generate reference voltages which can then be amplified or attenuated in precision manners to produce the desired values for these particular reference voltages VREFP, VREFN.

Referring to FIG. 2, the reference voltages VREFP, VREFN advantageously include multiple voltage values, thereby allowing the differential output voltage VOP1–VON1 to be tested for compliance with a specified window of voltage values. For example, as noted above, the IEEE compliance specification for 100 BASE-T Ethernet transmitters requires a differential signal voltage to have a magnitude of 1,000 +/−50 millivolts. Accordingly, as shown in FIG. 2, the two sets of reference voltages VREFP1, VREFN1 and VREFP2, VREFN2 would have voltage values such that their differential voltage magnitudes would be 1,050 and 950 milivolts, respectively. In other words, the first set of reference voltages VREFP1, VREFN1 would have respective voltage values, relative to the power supply voltage VCC (due to its application via the primary winding of the transformer T1) from which the individual reference voltages VREFP1, VREFN1 are equidistant, such that the difference between these reference voltages VDIFF1=VREFP1−VREFN1 is 1,050 milivolts. Similarly, for the second set of voltage VREFP2, VREFN2, their respective voltage values would be such that the difference between them VDIFF2=VREFP2=VREFN2 is 950 milivolts. Using such a dual set of reference voltages VREFP1, VREFN1 and VREFP2, VREFN2, it can then be determined whether the differential signal being tested has a magnitude within a windowed specification, such as the IEEE specification for 100 BASE-T Ethernet.

Referring to FIG. 3, such multiple ranges of reference voltages VREFP, VREFN can be provided by generating the individual reference voltages VREFP1, VREFN1, VREFP2, VREFN2 and providing them as the selected reference voltages VREFP, VREFN for use by the digital voltage comparator circuits DVC1, DVC2, . . . , DVCN, e.g., using analog switching or multiplexing circuits within the external test equipment ATE. For example, to provide the two sets of reference voltages VREFP2, VREFN1 and VREFP2, VREFN2, as discussed above for FIG. 2, analog multiplexors MUXP, MUXN can be used as shown. The first multiplexor MUXP is used to select between the two upper reference voltages VREFP1, VREFP2, while the other multiplexor MUXN is used to select between the two lower reference voltages VREFN1, VREFN2, in accordance with a control signal SELECT. Such analog switching and multiplexing circuitry is well known in the art and need not be described further.

Referring to FIG. 4, providing multiplexed voltages VREFP, VREFN in the manner discussed above allows the differential signal under test to be tested for compliance with the maximum and minimum differential voltage magnitudes. For example, during time intervals t0–t1, t2–t3 and t4–t5, the multiplexed reference voltages VREFP, VREFN are at their outermost extreme values, relative to their mean voltage value VCC (FIG. 2), thereby allowing the differential signal magnitude to be tested for compliance with the maximum voltage magnitude. Conversely, during time intervals t1–t2 and t3–t4, the multiplexed reference voltages VREFP, VREFN are at their innermost extremes, relative to their mean voltage value VCC, thereby allowing the differential signal magnitude to be tested for compliance with the minimum voltage magnitude.

Referring to FIG. 5, a preferred embodiment DVC1A of the differential voltage comparator circuit is implemented as shown and described below. Since the external reference voltages VREFP, VREFN are provided by external circuitry, i.e., off-chip, it is important that the digital voltage comparator circuitry reject common mode noise, such as that produced by the reference voltage generator itself or by being induced due to the internal routing of the reference voltages within the chip. It is also important to compensate or avoid mismatches due to voltage translations necessary within the comparator circuitry to operate the transistors within their proper operating voltage ranges. This can be problematic due to the fact that the output terminals of the differential signal generator TX1 are generally biased to the highest power supply voltage VCC that also serves as the power supply for the chip via the center tap of the primary side of the transformer T1.

A voltage regulator is provided in the form of P-type metal oxide semiconductor field effect transistors (P-MOSFETs) P1, P2, P3, P4, P5 and N-MOSFETs N1, N2, N3, all interconnected substantially as shown. A tail current I1 is provided by a current source IS1 for transistors P1, P2, and P5. Transistor P5 is biased by a reference voltage VREF generated across a current source IS2 which sinks a current 12 through an on-chip resistance RCM. Output transistors P3, P4 complete this voltage regulator structure.

Nodes 20P and 20N provide low impedance current summing nodes. Accordingly, incoming currents IOP, ION, IREFP and IREFN are generated by the application of the differential signal voltage phases VOP1 and VON1, and reference voltages VREFP and VREFN, respectively, to their respective input resistors RI, RS. Currents IOP and IREFN sum together to produce output current IP through transistor P3. Similarly, currents ION and IREFP sum together to produce output current IN through transistor P4. These currents IP and IN flow through equal resistances RL, thereby producing corresponding voltages V2P and V2N at the drain terminals of N-MOSFETs N4 and N5, respectively. Transistors N4 and N5 operate as a bistable multivibrator circuit which provides a high gain positive feedback latching function initiated by N-MOSFET N6 when turned on by the strobe signal. The resulting node voltages V2P and V2N are buffered by amplifiers BAP and BAN, respectively, with the buffered voltages 22P, 22N being applied to a set-reset latch, the output of which can be captured by a D-type flip-flop triggered by the inverse of the strobe signal. The resulting output status signal can be used as the output signal OUT-1 to be provided off-chip for monitoring by the test circuitry ATE, as discussed above.

The various on-chip resistances RI, RS, RL, RCM are preferably implemented as polysilicon resistors. Accordingly, the various currents IOP, ION, IREFP, IREFN, IP, IN will be proportional to variations in the polysilicon resistances over process and temperature variations, provided the summing node voltages VI and transmitter output voltages VOP1, VON1 refer to the same power supply voltage VCC. Additionally, the steady state values for voltages V2P and V2N can be set to a constant value of the lower power supply voltage VDD for the output test signal OUT-1, thereby providing for the voltage translation of the output test signal. (Typical values for the higher VCC and lower VDD power supply voltages are 2.5 and 1.0 volts, respectively.)

Various other modifications and alternations in the structure and method of operation of this invention will be apparent to those skilled in the art without departing from the scope and the spirit of the invention. Although the invention has been described in connection with specific preferred embodiments, it should be understood that the invention as claimed should not be unduly limited to such specific embodiments. It is intended that the following claims define the scope of the present invention and that structures and methods within the scope of these claims and their equivalents be covered thereby. 

1. A apparatus including an integrated circuit with differential signal generator circuitry and built-in test circuitry therefor, comprising: a plurality of reference electrodes via which are received first upper and lower reference voltages and second upper and lower reference voltages, wherein a difference between said first upper and lower reference voltages comprises a first difference magnitude, a difference between said second upper and lower reference voltages comprises a second differences magnitude, and said first difference magnitude is greater than said second difference magnitude; test signal generator circuitry via which is provided a plurality of binary signals with respective successions of opposing signal states; differential signal generator circuitry coupled to said test signal generator circuitry and responsive to said plurality of binary signals by providing a plurality of differential signals having respective magnitudes related to said respective successions of opposing binary signal states; and signal comparison circuitry coupled to said plurality of reference electrodes and said differential signal generator circuitry, and responsive to said and second upper and lower reference signals and said plurality of differential signals by providing a plurality of test signals with respective test signal states indicative of whether respective ones of said differential signal magnitudes are within a range defined as being less than said first difference magnitude and greater than said second difference magnitude.
 2. The apparatus of claim 1, wherein said plurality of reference electrodes comprises first and second reference electrodes via which are received said first upper and lower reference signals in alternation with said second upper and lower reference signals, respectively.
 3. The apparatus of claim 1, wherein: said test signal generator circuitry further provides one or more control signals with respective assertion and de-assertion states; and said signal comparison circuitry is further responsive to said one or more control signals by providing said plurality of tests signals with said respective test signal states in response to reception of said one or more control signals in said respective assertion states.
 4. The apparatus of claim 1, wherein: said plurality of binary signals comprises a plurality of logic signals; and said test signal generator circuitry comprises logic circuitry from which said plurality of logic signals is provided with respective predetermined patterns of bit values.
 5. The apparatus of claim 1, wherein: said plurality of binary signals comprises a plurality of single ended logic signals; and said differential signal generator circuitry comprises signal conversion circuitry responsive to said plurality of single ended logic signals by providing a plurality of differential logic signals as said plurality of differential signals.
 6. The apparatus of claim 1, wherein said differential signal generator circuitry comprises a plurality of low voltage differential signaling (LVDS) interface circuits.
 7. The apparatus of claim 1, wherein said signal comparison circuitry comprises a plurality of differential voltage comparators.
 8. An apparatus including an including an integrated circuit with differential signal generator circuitry and built-in test circuitry therefor, comprising: test signal generator means for providing a plurality of binary signal with respective successions of opposing signal states; differential signal generator means for receiving said plurality of binary signals and in response thereto providing a plurality of differential signals having respective magnitudes related to said respective successions of opposing binary signal states; and signal comparison means for receiving first upper and lower reference voltages, second upper and lower reference voltages, and said plurality of differential signals and in response thereto providing a plurality of test signals with respective test signal states, wherein a difference between said first upper and lower reference voltages comprises a first difference magnitude, a difference between said second upper and lower reference voltages comprise a second difference magnitude, said first difference magnitude is greater than said second difference magnitude, and said respective test signal states are indicative of whether respective ones of said differential signal magnitudes are within a range defined as being less than said first difference magnitude and greater than said second difference magnitude.
 9. The apparatus of claim 8, wherein said signal comparison means is for receiving said first upper and lower reference signals in alteration with said second upper and lower reference signals, respectively.
 10. The apparatus of claim 8, wherein: said test signal generator means is further for providing one or more control signals with respective assertion and de-assertion states; and said signal comparison means is further for receiving said one or more control signals and in response thereto providing said plurality of test signals with said respective test signal states in response to reception of said one or more control signals in said respective assertion states.
 11. A method for performing built-in testing of differential signal generator circuitry, comprising: generating, within an integrated circuit, a plurality of binary signals with respective successions of opposing signal states; receiving said plurality of binary signals and in response thereto generating, within said integrated circuit, a plurality of differential signals having respective magnitudes related to said respective successions of opposing binary signal states; and receiving first upper and lower reference voltages, second upper and lower reference voltages, and said plurality of differential signals and in response thereto generating, within said integrated circuit, a plurality of test signals with respective test signal states, wherein a difference between said first upper and lower reference voltages comprises a first difference magnitude, a difference between said second upper and lower reference voltages comprise a second difference magnitude, said first difference magnitude is greater than said second difference magnitude, and said respective test signal states are indicative of whether respective ones of said differential signal magnitudes are within a range defined as being less than said first difference magnitude and greater than said second difference magnitude.
 12. The method of claim 11, wherein said receiving first upper and lower reference voltages, second upper and lower reference voltages, and said plurality of differential signals comprises receiving said first upper and lower reference signals in alternation with said second upper and lower reference signals, respectively.
 13. The method of claim 11, wherein: generating, within said integrated circuit, one or more control signals with respective assertion and de-assertion states; and said receiving first upper and lower reference voltages, second upper and lower reference voltages, and said plurality of differential signals and in response thereto generating, within said integrated circuit, a plurality of test signals with respective test signal states further comprises receiving said one or more control signals and in response thereto generating, within said integrated circuit, said plurality of test signals with said respective test signal states in response to reception of said one or more control signals in said respective assertion states. 